// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_QC_SOLUTION_ITEM
// * CreateDate    : 2014-06-05 18:30:31
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:31
// * LastChanger   : 2014-06-05 18:30:31
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class QcSolutionItemTable : TableInfo
    {
		public const string C_TableName = "QC_SOLUTION_ITEM";
		
		public const string C_QC_ITEM_ID = "QC_ITEM_ID";
		public const string C_QC_SOLUTION_ID = "QC_SOLUTION_ID";
		public const string C_QC_ITEM_NAME = "QC_ITEM_NAME";
		public const string C_QC_ITEM_CODE = "QC_ITEM_CODE";
		public const string C_DESCRIPTION = "DESCRIPTION";
		
		public QcSolutionItemTable()
        {
            _tableName = "QC_SOLUTION_ITEM";
        }
		
		protected static QcSolutionItemTable _current;
        public static QcSolutionItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new QcSolutionItemTable();

            _current.Add(C_QC_ITEM_ID, new ColumnInfo(C_QC_ITEM_ID,"QcItemId", true, typeof(string)));
            _current.Add(C_QC_SOLUTION_ID, new ColumnInfo(C_QC_SOLUTION_ID,"QcSolutionId", false, typeof(string)));
            _current.Add(C_QC_ITEM_NAME, new ColumnInfo(C_QC_ITEM_NAME,"QcItemName", false, typeof(string)));
            _current.Add(C_QC_ITEM_CODE, new ColumnInfo(C_QC_ITEM_CODE,"QcItemCode", false, typeof(string)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION,"Description", false, typeof(string)));
			
		}
		
		public ColumnInfo QC_ITEM_ID
        {
            get { return this[C_QC_ITEM_ID]; }
        }
		
		public ColumnInfo QC_SOLUTION_ID
        {
            get { return this[C_QC_SOLUTION_ID]; }
        }
		
		public ColumnInfo QC_ITEM_NAME
        {
            get { return this[C_QC_ITEM_NAME]; }
        }
		
		public ColumnInfo QC_ITEM_CODE
        {
            get { return this[C_QC_ITEM_CODE]; }
        }
		
		public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }
		
		
		
	}
}

